﻿#中文
from WebStore import *
import pyp2pserver as py
p1 = py.globalp2pserver
p1.load()
p1.peer_state_change('peerid', 89)
store.p2psenddata('peerid', 'data')
data = storepacket.makepacket(storepacket.TYPE_CS_LOGIN)
p1.receive_data('peerid', data)
print p1
